package com.geaosu.wanandroid.kotlin.learn

class Test016_Student {
    constructor(){
        println("没有参数的次构造函数")
    }
    constructor(name: String) : this(){
        println("有1个参数的次构造函数")
    }
    constructor(name: String, age: Int) : this(name){
        println("有2个参数的次构造函数")
    }
}